LINALG
Source Files
Modules
Procedures
Derived Types
dense_to_csr
Function
29 statements
Source File
linalg_sparse.f90
linalg_sparse
dense_to_csr
Contents
public pure function dense_to_csr(a) result(rst)
Converts a dense matrix to a CSR matrix.
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=real64),
intent(in),
dimension(:,:)
::
a
The dense matrix to convert.
Return Value
type(
csr_matrix
)
The CSR matrix.